package com.sea.supply.service;

import com.sea.supply.entity.Produce;
import com.sea.supply.entity.ProduceBalance;

import java.io.InputStream;
import java.util.List;

/**
 * @author 陈鸿飞
 */
public interface ProduceBalanceService {

    /**
     * 新增
     * @param produceBalance
     * @return
     */
    int save(ProduceBalance produceBalance);

    /**
     * 条件查询
     * @param produceBalance
     * @return
     */
    List<ProduceBalance> findByCnd(ProduceBalance produceBalance);
    /**
     * 导入SKU
     * @param inputStream
     * @param fileName
     * @return
     * @throws Exception
     */
    void importSku(InputStream inputStream, String fileName, String userRealName) throws Exception;

}
